#include<stdio.h>
#include<conio.h>
void main()
{
	char alphabet;
	int ASCII;

	clrscr();

	printf("\n\n\n\nEnter any Alphabet Character or any single numeric value or any special symbol: ");
	alphabet = getche();


	ASCII = alphabet;


	ASCII >= 65 && ASCII <= 90

	? printf("\n\tEntered Chaaracter is a Capital Letter = %c ", alphabet)

	: ASCII >= 97 && ASCII <= 122

		? printf("\n\tEntered Character is a Small Letter = %c", alphabet)

		: ASCII >= 48 && ASCII <= 57

			? printf("\n\n\nThe ASCII value of Entered numeric number is = %d",ASCII)

			: ASCII >= 0 && ASCII <= 47

			  || ASCII >= 58 && ASCII <= 64

			  || ASCII >= 91 && ASCII <= 96

			  || ASCII >= 123 && ASCII<= 127

				? printf("\n\n\n\t\tIt is a Special Symbol")

				: printf("\n\n\n\t\tIt is a functional key");


	getch();
}